//
//  VOH_SD_RegionalCell.m
//  VoiceOfHeart
//
//  Created by lanou3g on 16/8/16.
//  Copyright © 2016年 吉龙. All rights reserved.
//
//区域电台
#import "VOH_SD_RegionalCell.h"
@class VOH_SD_RegionalradioModel;
@interface VOH_SD_RegionalCell ()
@property(nonatomic,strong) UILabel *liveLB;

@end



@implementation VOH_SD_RegionalCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setUpView];
    }
    return self;
}
-(void)setUpView{

    //电台图标
    self.photoImageView = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 140, 130)];
    self.photoImageView.backgroundColor = [UIColor redColor];
    [self.contentView addSubview:self.photoImageView];
    
    //电台名称
    self.radioNameLB = [[UILabel alloc]initWithFrame:CGRectMake(150, 12, 250, 40)];
    self.radioNameLB.backgroundColor = [UIColor greenColor];
    [self.contentView addSubview:self.radioNameLB];
    
    //直播节目名称
    self.programName = [[UILabel alloc]initWithFrame:CGRectMake(150, 47, 250, 40)];
    self.programName.backgroundColor = [UIColor grayColor];
    [self.contentView addSubview:self.programName];
    
    //收听人数
    self.personNumber = [[UILabel alloc]initWithFrame:CGRectMake(150, 82, 250, 40)];
    self.personNumber.backgroundColor = [UIColor yellowColor];
    [self.contentView addSubview:self.personNumber];
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
